package com.penbase.dma.Constant;

public class ScriptAttribute {	
	//Function name
	public static final String FUNCTION_ABS = "abs";
	public static final String FUNCTION_ADD = "add";
	public static final String FUNCTION_ADDCRITERIA = "addCriteria";
	public static final String FUNCTION_ADDDAYS = "addDays";
	public static final String FUNCTION_ADDHOURS = "addHours";
	public static final String FUNCTION_ADDITEM = "addItem";
	public static final String FUNCTION_ADDMINUTES = "addMinutes";
	public static final String FUNCTION_ADDMONTHS = "addMonths";
	public static final String FUNCTION_ADDYEARS = "addYears";
	public static final String FUNCTION_ALERT = "alert";
	public static final String FUNCTION_AVERAGE = "avg";
	public static final String FUNCTION_BROWSE = "browse";
	public static final String FUNCTION_CANCEL = "cancel";
	public static final String FUNCTION_CANCELEDITRECORD = "cancelEditRecord";
	public static final String FUNCTION_CANCELNEWRECORD = "cancelNewRecord";
	public static final String FUNCTION_CANCELTRANSACTION = "cancelTransaction";
	public static final String FUNCTION_CEIL = "ceil";
	public static final String FUNCTION_CHECK = "check";	
	public static final String FUNCTION_CLEAR = "clear";
	public static final String FUNCTION_CLOSE = "close";
	public static final String FUNCTION_CONCAT = "concat";
	public static final String FUNCTION_CONFIRM = "confirm";
	public static final String FUNCTION_CONTAINS = "contains";
	public static final String FUNCTION_COUNT = "count";
	public static final String FUNCTION_CREATEDATE = "createDate";
	public static final String FUNCTION_CREATELOCATION = "createLocation";
	public static final String FUNCTION_CURRENTDAYINMONTH = "currentDayInMonth";
	public static final String FUNCTION_CURRENTMONTH = "currentMonth";
	public static final String FUNCTION_CURRENTYEAR = "currentYear";
	public static final String FUNCTION_DELETERECORD = "deleteRecord";
	public static final String FUNCTION_DELETERECORDS = "deleteRecords";
	public static final String FUNCTION_DIVISION = "div";
	public static final String FUNCTION_EDITRECORD = "editRecord";
	public static final String FUNCTION_ERROR = "error";
	public static final String FUNCTION_EXIT = "exit";
	public static final String FUNCTION_EXPLODE = "explode";
	public static final String FUNCTION_EXPORT = "export";
	public static final String FUNCTION_FLOOR = "floor";
	public static final String FUNCTION_FORMAT = "format";
	public static final String FUNCTION_GET = "get";
	public static final String FUNCTION_GETALTITUDE = "getAltitude";
	public static final String FUNCTION_GETAPPLICATIONVERSION = "getApplicationVersion";
	public static final String FUNCTION_GETDISTANCE = "getDistance";
	public static final String FUNCTION_GETCELLVALUE = "getCellValue";
	public static final String FUNCTION_GETCOLUMNINDEX = "getColumnIndex";
	public static final String FUNCTION_GETCURRENTCULTURE = "getCurrentCulture";
	public static final String FUNCTION_GETCURRENTFORM = "getCurrentForm";
	public static final String FUNCTION_GETCURRENTUSER = "getCurrentUser";
	public static final String FUNCTION_GETDAYNAME = "getDayName";
	public static final String FUNCTION_GETDAYSINMONTH = "getDaysInMonth";
	public static final String FUNCTION_GETFIELDBYNAME = "getFieldByName";
	public static final String FUNCTION_GETFIELDNAME = "getFieldName";
	public static final String FUNCTION_GETFIELDS = "getFields";
	public static final String FUNCTION_GETFIELDVALUE = "getFieldValue";
	public static final String FUNCTION_GETFIELDVALUEBYPRIMARYKEY = "getFieldValueByPrimaryKey";
	public static final String FUNCTION_GETFILTEREDRECORD = "getFilteredRecord";
	public static final String FUNCTION_GETFILTEREDRECORDS = "getFilteredRecords";
	public static final String FUNCTION_GETLABEL = "getLabel";
	public static final String FUNCTION_GETLATITUDE = "getLatitude";
	public static final String FUNCTION_GETLOCATION = "getLocation";
	public static final String FUNCTION_GETLONGITUDE = "getLongitude";
	public static final String FUNCTION_GETRECORD = "getRecord";
	public static final String FUNCTION_GETRECORDS = "getRecords";
	public static final String FUNCTION_GETROWCOUNT = "getRowCount";
	public static final String FUNCTION_GETSELECTEDINDEX = "getSelectedIndex";
	public static final String FUNCTION_GETSELECTEDRECORD = "getSelectedRecord";
	public static final String FUNCTION_GETSELECTEDROW = "getSelectedRow";
	public static final String FUNCTION_GETSIZE = "size";
	public static final String FUNCTION_GETSPEED = "getSpeed";
	public static final String FUNCTION_GETSTATUS = "getStatus";
	public static final String FUNCTION_GETTABLEBYNAME = "getTableByName";
	public static final String FUNCTION_GETTEXT = "getText";
	public static final String FUNCTION_GETVALUE = "getValue";
	public static final String FUNCTION_HIDE = "hide";
	public static final String FUNCTION_IMPLODE = "implode";
	public static final String FUNCTION_IMPORT = "import";
	public static final String FUNCTION_INDEXOF = "indexOf";
	public static final String FUNCTION_INIT = "init";
	public static final String FUNCTION_INTERSECT = "intersect";
	public static final String FUNCTION_ISCHECKED = "isChecked";
	public static final String FUNCTION_ISCREATINGRECORD = "isCreatingRecord";
	public static final String FUNCTION_ISEDITINGRECORD = "isEditingRecord";
	public static final String FUNCTION_ISEMPTY = "isEmpty";
	public static final String FUNCTION_ISENABLED = "isEnabled";
	public static final String FUNCTION_ISRECORDSYNCHRONIZED = "isRecordSynchronized";
	public static final String FUNCTION_ISSELECTED = "isSelected";
	public static final String FUNCTION_ISVISIBLE = "isVisible";
	public static final String FUNCTION_LENGTH = "length";
	public static final String FUNCTION_MAIL = "mail";
	public static final String FUNCTION_MAX = "max";
	public static final String FUNCTION_MIN = "min";
	public static final String FUNCTION_MULTIPLE = "mul";
	public static final String FUNCTION_NAVIGATE = "navigate";
	public static final String FUNCTION_NEWRECORD = "newRecord";
	public static final String FUNCTION_NOT = "not";
	public static final String FUNCTION_NOTNULL = "notNull";
	public static final String FUNCTION_NOW = "now";
	public static final String FUNCTION_NOWHOUR = "nowH";
	public static final String FUNCTION_PERCANTAGE = "percentage";
	public static final String FUNCTION_RANDOM = "rand";
	public static final String FUNCTION_REFRESH = "refresh";
	public static final String FUNCTION_REMOVE = "remove";
	public static final String FUNCTION_REMOVEALLITEMS = "removeAllItems";
	public static final String FUNCTION_REPLACE = "replace";
	public static final String FUNCTION_RESET = "reset";
	public static final String FUNCTION_ROUND = "round";
	public static final String FUNCTION_SELECT = "select";
	public static final String FUNCTION_SETCURRENTRECORD = "setCurrentRecord";
	public static final String FUNCTION_SETENABLED = "setEnabled";
	public static final String FUNCTION_SETFOCUS = "setFocus";
	public static final String FUNCTION_SETINPUTPANELVISIBLE = "setInputPanelVisible";
	public static final String FUNCTION_SETLABEL = "setLabel";
	public static final String FUNCTION_SETMAX = "setMax";
	public static final String FUNCTION_SETMIN = "setMin";
	public static final String FUNCTION_SETNUMERICFORMAT = "setNumericFormat";
	public static final String FUNCTION_SETSELECTEDINDEX = "setSelectedIndex";
	public static final String FUNCTION_SETSELECTEDROW = "setSelectedRow";
	public static final String FUNCTION_SETTEXT = "setText";
	public static final String FUNCTION_SETTITLE = "setTitle";
	public static final String FUNCTION_SETVALUE = "setValue";
	public static final String FUNCTION_SETVISIBLE = "setVisible";
	public static final String FUNCTION_SETWAITCURSOR = "setWaitCursor";
	public static final String FUNCTION_SHOWDIALOG = "showDialog";
	public static final String FUNCTION_SIZE = "size";
	public static final String FUNCTION_START = "start";
	public static final String FUNCTION_STARTAPP = "startApp";
	public static final String FUNCTION_STARTEDITRECORD = "startEditRecord";
	public static final String FUNCTION_STARTNEWRECORD = "startNewRecord";
	public static final String FUNCTION_STARTTRANSACTION = "startTransaction";
	public static final String FUNCTION_STOP = "stop";
	public static final String FUNCTION_SUB = "sub";
	public static final String FUNCTION_SUBSTRING = "substring";
	public static final String FUNCTION_SUM = "sum";
	public static final String FUNCTION_SYNC = "sync";
	public static final String FUNCTION_TOBOOLEAN = "toBoolean";
	public static final String FUNCTION_TOCOMPONENT = "toComponent";
	public static final String FUNCTION_TODATE = "toDate";
	public static final String FUNCTION_TODATASET = "toDataset";
	public static final String FUNCTION_TOFIELD = "toField";
	public static final String FUNCTION_TOFORM = "toForm";
	public static final String FUNCTION_TOINT = "toInt";
	public static final String FUNCTION_TOLIST = "toList";
	public static final String FUNCTION_TOLOWER = "toLower";
	public static final String FUNCTION_TONUMERIC = "toNumeric";
	public static final String FUNCTION_TORECORD = "toRecord";
	public static final String FUNCTION_TOSTRING = "toString";
	public static final String FUNCTION_TOTABLE = "toTable";
	public static final String FUNCTION_TOTIME = "toTime";
	public static final String FUNCTION_TOUPPER = "toUpper";
	public static final String FUNCTION_TRIM = "trim";
	public static final String FUNCTION_UNION = "union";
	public static final String FUNCTION_VALIDATEEDITRECORD = "validateEditRecord";
	public static final String FUNCTION_VALIDATENEWRECORD = "validateNewRecord";
	public static final String FUNCTION_VALIDATETRANSACTION = "validateTransaction";
	public static final String FUNCTION_VIBRATE = "vibrate";
	
	//Namespace
	public static final String NAMESPACE_COMPONENT_CHECK = "component.checkbox";
	public static final String NAMESPACE_COMPONENT_CB = "component.combobox";
	public static final String NAMESPACE_COMPONENT_DV = "component.dataview";
	public static final String NAMESPACE_COMPONENT_NB = "component.numberbox";
	public static final String NAMESPACE_COMPONENT_RB = "component.radiobutton";
	public static final String NAMESPACE_COMPONENT_TF = "component.textfield";
	public static final String NAMESPACE_DATE = "date";
	public static final String NAMESPACE_DB = "database";
	public static final String NAMESPACE_DB_DATASET = "database.dataset";
	public static final String NAMESPACE_DB_FIELD = "database.field";
	public static final String NAMESPACE_DB_TABLE = "database.table";
	public static final String NAMESPACE_MATH = "math";
	public static final String NAMESPACE_MESSAGING = "messaging";
	public static final String NAMESPACE_GPS = "gps";
	public static final String NAMESPACE_RUNTIME = "runtime";
	public static final String NAMESPACE_STRING = "string";
	public static final String NAMESPACE_TIMER = "timer";
	public static final String NAMESPACE_USER = "user";
	
	//Parameters name
	public static final String PARAMETER_NAME_A = "a";
	public static final String PARAMETER_NAME_ALTITUDE = "altitude";
	public static final String PARAMETER_NAME_ASCENDING = "ascending";
	public static final String PARAMETER_NAME_B = "b";
	public static final String PARAMETER_NAME_BOLD = "bold";
	public static final String PARAMETER_NAME_CALLBACK = "callback";
	public static final String PARAMETER_NAME_CAPTION = "caption";
	public static final String PARAMETER_NAME_COLUMN = "col";
	public static final String PARAMETER_NAME_CONFIRM = "confirm";
	public static final String PARAMETER_NAME_DAY = "day";
	public static final String PARAMETER_NAME_DAYS = "days";
	public static final String PARAMETER_NAME_DECIMALS = "decimals";
	public static final String PARAMETER_NAME_DEFAULT = "default";
	public static final String PARAMETER_NAME_DELAYED = "delayed";
	public static final String PARAMETER_NAME_DELIMITER = "delimiter";
	public static final String PARAMETER_NAME_DISTINCT = "distinct";
	public static final String PARAMETER_NAME_DURATION = "duration";
	public static final String PARAMETER_NAME_ELEMENT = "element";
	public static final String PARAMETER_NAME_ENABLE = "enable";
	public static final String PARAMETER_NAME_END = "end";
	public static final String PARAMETER_NAME_FACELESS = "faceless";
	public static final String PARAMETER_NAME_FIELDNAME = "fieldname";
	public static final String PARAMETER_NAME_FIELDS = "fields";
	public static final String PARAMETER_NAME_FILTERS = "filters";
	public static final String PARAMETER_NAME_FORMAT = "format";
	public static final String PARAMETER_NAME_GLUE = "glue";
	public static final String PARAMETER_NAME_HOURS = "hours";
	public static final String PARAMETER_NAME_INDEX = "index";
	public static final String PARAMETER_NAME_INTERVAL = "interval";
	public static final String PARAMETER_NAME_ITALIC = "italic";
	public static final String PARAMETER_NAME_KEYFIELD = "key_field";
	public static final String PARAMETER_NAME_KEYVALUE = "key_value";
	public static final String PARAMETER_NAME_LABEL = "label";
	public static final String PARAMETER_NAME_LATITUDE = "latitude";
	public static final String PARAMETER_NAME_LINK = "link";		//link the last condition
	public static final String PARAMETER_NAME_LIST1 = "list1";
	public static final String PARAMETER_NAME_LIST2 = "list2";
	public static final String PARAMETER_NAME_LOCATION1 = "location1";
	public static final String PARAMETER_NAME_LOCATION2 = "location2";
	public static final String PARAMETER_NAME_LONGITUDE = "longitude";
	public static final String PARAMETER_NAME_MAX = "max";
	public static final String PARAMETER_NAME_MESSAGE = "message";
	public static final String PARAMETER_NAME_MIN = "min";
	public static final String PARAMETER_NAME_MINUTES = "minutes";
	public static final String PARAMETER_NAME_MONTH = "month";
	public static final String PARAMETER_NAME_MONTHS = "months";
	public static final String PARAMETER_NAME_PATH = "path";
	public static final String PARAMETER_NAME_PERCENT = "percent";
	public static final String PARAMETER_NAME_REPLACEMENT = "replacement";
	public static final String PARAMETER_NAME_ROW = "row";
	public static final String PARAMETER_NAME_SEARCH = "search";
	public static final String PARAMETER_NAME_SECONDS = "seconds";
	public static final String PARAMETER_NAME_SHOW = "show";
	public static final String PARAMETER_NAME_SOURCE = "source";
	public static final String PARAMETER_NAME_SPEED = "speed";
	public static final String PARAMETER_NAME_START = "start";
	public static final String PARAMETER_NAME_STATE = "state";
	public static final String PARAMETER_NAME_SUBJECT = "subject";
	public static final String PARAMETER_NAME_TABLENAME = "tablename";
	public static final String PARAMETER_NAME_TABLES = "tables";
	public static final String PARAMETER_NAME_TEXT = "text";
	public static final String PARAMETER_NAME_THOUSANDSSEP = "thousands_separator";
	public static final String PARAMETER_NAME_TIMERID = "timer_id";
	public static final String PARAMETER_NAME_TITLE = "title";
	public static final String PARAMETER_NAME_TO = "to";
	public static final String PARAMETER_NAME_TOKEN = "token";
	public static final String PARAMETER_NAME_TYPE = "type";
	public static final String PARAMETER_NAME_UNDERLINE = "underline";
	public static final String PARAMETER_NAME_URL = "url";
	public static final String PARAMETER_NAME_VALUE = "value";
	public static final String PARAMETER_NAME_VALUES = "values";
	public static final String PARAMETER_NAME_VISIBLE = "visible";
	public static final String PARAMETER_NAME_YEAR = "year";
	public static final String PARAMETER_NAME_YEARS = "years";
	
	//Parameters type
	public static final String PARAMETER_TYPE_BOOLEAN = "boolean";
	public static final String PARAMETER_TYPE_INT = "int";
	public static final String PARAMETER_TYPE_NUMERIC = "numeric";
	
	//Common values
	public static final String COMPONENT = "component";
	public static final String DATASET = "dataset";
	public static final String DATE = "date";
	public static final String FIELD = "field";
	public static final String FILTER = "filter";
	public static final String FORM = "form";
	public static final String LIST = "list";
	public static final String LOCATION = "location";
	public static final String OBJECT = "object";
	public static final String OPERATOR = "operator"; 
	public static final String ORDER = "order";
	public static final String RECORD = "record";
	public static final String STRING = "string";
	public static final String TABLE = "table";
	
	//Constants
	public static final String CONST_EMPTY_STRING = "EMPTY_STRING";
	public static final String CONST_FALSE = "FALSE";
	public static final String CONST_NULL = "NULL";
	public static final String CONST_TRUE = "TRUE";
	public static final String CONST_GPS_SIGNAL_OK = "GPS_SIGNAL_OK";
	
	//Operators
	public static final int AND = 29;
	public static final int EQUALS = 20;
	public static final int GREATERTHAN = 22;
	public static final int GREATERTHANOREQUALS = 23;
	public static final int LESSTHAN = 24;
	public static final int LESSTHANOREQUALS = 25;
	public static final int NOTEQUALS = 21;
	public static final int OR = 30;
	public static final int STRINGSTARTWITH = 26;
	public static final int STRINGENDWITH = 27;
	public static final int STRINGCONTAINS = 28;
}